﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataFileApplication_WPF.Common;


namespace DataFileApplication_WPF.ViewModels
{
    public class ReNameTreeItemViewModel : NotifyPropertyChangedBase
    {

        private string _oldName;

        public string OldName
        {
            get { return _oldName; }
            set
            {
                _oldName = value;
                this.RaisePropertyChanged();
            }
        }


        private string _newName;
        public string NewName
        {
            get { return _newName; }
            set
            {
                _newName = value; 
                this.RaisePropertyChanged();
            }
        }

        public ReNameTreeItemViewModel(string oldName)
        {
            this._oldName = oldName;
        }


    }
}
